/**
 *  @file SDLSurfaceDeleter.h
 *
 *  @date 26-nov-2009
 *  @author Ives van der Flaas
 */

#ifndef SDLSURFACEDELETER_H_
#define SDLSURFACEDELETER_H_

#include <SDL.h>

namespace si_sdl
{
/**
 * Class that will be used by shared_ptr to delete SDL_Surface*'s.
 */
class SDLSurfaceDeleter
{
public:
	void operator()(SDL_Surface* srfs){ SDL_FreeSurface(srfs); }
};

}

#endif /* SDLSURFACEDELETER_H_ */
